package com.bw.service.impl;

import com.bw.bean.Vo;
import com.bw.mapper.VoMapper;
import com.bw.service.VoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VoServiceImpl implements VoService {
    //6） 业务层成功注入数据层 （5分）
    @Autowired
    VoMapper voMapper;

    @Override
    public Double getlist() {
        return voMapper.getlist();
    }

    @Override
    public List<Vo> getlist2() {
        return voMapper.getlist2();
    }

    @Override
    public List<Vo> getlist3() {
        return voMapper.getlist3();
    }


}
